// 修改 main/java/com/example/aicompositiongrader/network/ApiService.java
package com.example.aicompositiongrader.network;

import com.example.aicompositiongrader.model.DeepSeekRequest;
import com.example.aicompositiongrader.model.DeepSeekResponse;

import io.reactivex.rxjava3.core.Single;
import retrofit2.http.Body;
import retrofit2.http.POST;

public interface ApiService {
    // 将参数类型从CompositionRequest改为DeepSeekRequest
    // 返回返回类型从CompositionResponse改为DeepSeekResponse
    @POST("v1/chat/completions") // 注意修改为DeepSeek的实际API端点
    Single<DeepSeekResponse> analyzeComposition(@Body DeepSeekRequest request);
}